package com.arpa.wms.mapper;

import com.arpa.wms.domain.entity.ReceiptItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 仓库收款单明细 Mapper 接口
 * </p>
 *
 * @author LEO
 * @since 2020-11-17
 */
public interface ReceiptItemMapper extends BaseMapper<ReceiptItem> {


    /**
     * 根据收款单号获取收款单明细
     *  关联查询收款明细表
     * @param receiptCode 收款单号
     * @return 收款单明细 {@link ReceiptItem}
     */
    List<ReceiptItem> listByReceiptCode(@Param("receiptCode") String receiptCode);
}
